home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / compuserve-file-archive / 03 Demos and Info / FAQ4.TXT < prev    next >
Encoding:
Text File  |  2019-04-13  |  23.9 KB  |  439 lines

  1. ========
  2. Newsgroups: comp.sys.cbm
  3. Subject: COMP.SYS.CBM: General FAQ, v3.1 Part 4/9
  4. From: brain@mail.msen.com (Jim Brain)
  5. Date: 13 Aug 1996 00:41:53 -0400
  6.  
  7.  
  8. X-Posted-By: YPost, version 0.08
  9.  
  10.  
  11. Archive-name: cbm-main-faq.3.1.p4
  12. Comp-answers-archive-name: commodore/main-faq/part4
  13. News-answers-archive-name: commodore/main-faq/part4
  14. Comp-sys-cbm-archive-name: main-faq/part4
  15. Version: 3.1
  16. Last-modified: 1996/08/12
  17.                             
  18.  
  19.   ---------------------------------------------------------------------------
  20.   
  21.   Table of Contents (for this file)
  22.   ---------------------------------
  23.  
  24.    6.  The Online Information Reservoir
  25.    6.1.  How do I download?  What is a transfer protocol?
  26.    6.2.  What is the difference between PETSCII and ASCII?
  27.    6.3.  Where can I find Commodore programs?
  28.    6.4.  What ison, and what do they stand for?
  29.    
  30.   ---------------------------------------------------------------------------
  31.  
  32.  
  33.    6.  The Online Information Reservoir
  34.    
  35.    How true this is.  There is information everywhere online, just
  36.    waiting to be accessed and used.at the information
  37.    can be a time consuming process.  
  38.    
  39.    6.1.  How do I download?  What is a transfer protocol?
  40.   
  41.   To transfer files for another computer (another 64 or 128, UNIX, OS/2, 
  42.   DOS, MVS, VMS, Amiga, Atari, or other), you should use a transfer protocol.
  43.   Although it is possible to transfer files by turning on the terminal
  44.   program's capture buffer and receiving the file, this is not very
  45.   reliable and is prone to errors.  When transferring any sizable amount of
  46.   data, one should use some sort of error-correcting file transfer protocol.
  47.   A file transfer protocol splits a file into many pieces, or "packets", and
  48.   send a number of them at a time.  It then waits for an acknowledgement from 
  49.   the receiver that the received received the packets correctly.  At this
  50.   point, the sender send the next batch of packets.  This process is
  51.   repeated until the entore file is transmitted.  Each packet contains
  52.   computed checksums and other error detection bytes to ensure the
  53.   received data is not corrupt.
  54.   
  55.   Below are descriptions for some of the more popular protocols:
  56.    
  57.   C1 (commonly called Punter Protocol)
  58.   
  59.   C1 is a Commodore specific transfer protocol that used to be the
  60.   standard for file transfer.  However, with the increase in IBM-based
  61.   bulleting board, it has been replaced by other protocols.  Most Commodore
  62.   BBS systems still offer C1 (usually called Punter in the list) other BBS systems have support for it.  There is, however, a 
  63.   C1 protocol transfer program for MS-DOS called puntr104.zip.  
  64.   
  65.   KERMIT
  66.  
  67.   KERMIT is the name of one of the oldest file transfer protocols.  KERMIT
  68.   is unique in that it can encode the file being transmitted so that
  69.   it does not contain any bytes greater than 128 and does not contain any
  70.   special control bytes that terminals use to perform special actions.  As
  71.   such, this protocol is the most robust, but it is also the slowest.  
  72.   A common statement is, "if you can't KERMIT it, you can't get it"
  73.  
  74.   XMODEM
  75.  
  76.   XMODEM comes in several varieties.  Standard XMODEM sends files in 128 byte
  77.   packets.  There are two standard error-correction methods with XMODEM
  78.   checksum and CRC.  CRC is the more modern of the two.  There is also a
  79.   version of XMODEM which supports 1K-byte packets.  This version is most
  80.   commonly known as XMODEM-1K, but is sometimes erroneously called YMODEM.
  81.  
  82.   YMODEM
  83.   
  84.   YMODEM is a "batch" XMODEM protocol, allowing you to transfer multiple
  85.   files in one operation.
  86.   
  87.   ZMODEM
  88.  
  89.   A new file transfer protocol is ZMODEM.  ZMODEM is theoretically the 
  90.   fastest transfer protocol, but only shows a speed gain over the others
  91.   on noise-free telephone lines.  It achieves this speed increase by only
  92.   replying to the sender about the bad packets.  
  93.   
  94.   Most terminal programs support PUNTER, XMODEM, XMODEM-1K, YMODEM, and 
  95.   KERMIT.  The Kermit terminal program only supports KERMIT, and Novaterm, 
  96.   as of version 9.5, supports ZMODEM receives, but not sends.
  97.    
  98.    
  99.    6.2.  What is the difference between PETSCII and ASCII?
  100.   
  101.   (Note that the Amiga line of computers uses the ISO 8859-1 character
  102.   set, so this does not apply to Amiga computers)
  103.   
  104.   When Commodore designed the PET line of computers, they chose for the 
  105.   character set encoding a special encoding called PETSCII.  This set is
  106.   similar but not the same as the American Standard Code for Information
  107.   Intercahnge (ASCII).  Now, this does not cause any 
  108.   problem when transferring information between or among Commodore
  109.   computers (except the Amiga, which I believe uses ASCII), but causes
  110.   problems when exchanging information with othe computer types.
  111.   
  112.   The obvious solution is for all Commodore users to translate incoming
  113.   information into PETSCII from ASCII when talking to another type of
  114.   computer.  However, this effectively ruins binary files, which have
  115.   no concept of character codes.  Therefore, the rules are:
  116.   
  117.   Do not translate when exchanging binary files with any computer 
  118.   
  119.   Translate all textual information exchanged with non-Commodore computers.
  120.   
  121.   Translate textual information exchanged with Commodore computers only
  122.   if they are translating it as well.
  123.   
  124.   If  a text file you retrieve looks like the uppercase letters should
  125.   be lowercase and vice versa, then the file is in ASCII and needs to
  126.   be converted to PETSCII.
  127.   
  128.    
  129.    6.3.  Where can I find Commodore programs?
  130.    
  131.    Commodore programs are available from a number of sources.  For commercial
  132.    software, please see Section 15.1 for a list of software dealers.  For
  133.    shareware and public domain, you can use FTP 9), electronic
  134.    mail (Section 6.5.2), and bulletin board system in addition to the 
  135.    software dealers to download or buy programs and other software.
  136.   
  137.    
  138.    6.4.  What is a file extension, and what do they stand for?
  139.  
  140.   A file extension is a 1 or more letter suffix appended to the end of a file
  141.   name to indicate the type of file it is.  The extension usually indicates
  142.   the contents of a file.  The list below describes some more common file
  143.   extensions, what they are used for, and how to use the file.
  144.     
  145.   Please note that these file extensions are not Commodore-exclusive.  Many
  146.   computers use file extensions.  Also note that some file extensions
  147.   are cumulative.  IF a file is named "filename.tar.gz", this indicates that
  148.   the file is of type "gz", and the file(s) inside the gz file are of type
  149.   "tar".  To use this file, one would note that both extension are 
  150.   archival extensions.  One would undo the "gz" archival method to restore
  151.   the "filename.tar" archive, then undo the "tar" archival method to restore
  152.   the original file.
  153.   
  154.   Extension:    Meaning:            Notes:
  155.   -----------------------------------------
  156.   .txt          Text File           This file is not compressed, so it needs
  157.                                     no decompression step.  However, the file
  158.                                     may be in either ASCII or PETSCII format,
  159.                                     so a conversion step may be necessary.
  160.                                     Most terminal programs can do this
  161.                                     conversion, and there are stand-alone
  162.                                     programs that do the necessary conversion
  163.                                     also.
  164.  
  165.   .sda          Self-Dissolving     Just load and run the .sda file to
  166.                 Archive             dissolve the archive.  Will dissolve
  167.                                     itself into its constituent files.
  168.                                     C64 and C128 .sda files are not
  169.                                     compatible with each other.
  170.  
  171.   .sfx          Self-Extracting     Load and run just like a .sda file.
  172.                 Archive             The same archive can be extracted on
  173.                                     either a C64 or a C128, memory permitting.
  174.  
  175.   .arc          ARChive             Use the program arc250.4 or earlier
  176.                                     for the 64 or arc128 for the 128 to
  177.                                     dissolve the archive.  arc128 is available
  178.                                     as part of the CS-DOS package.  Other
  179.                                     de-archive programs may exist.
  180.  
  181.   .lzh          LHArchive           Use the program lhx in CS-DOS on the
  182.                                     128 to dissolve this archive.  These
  183.                                     are not very common.  This archive
  184.                                     uses the same format as .sfx files,
  185.                                     but is not self-extracting.  It is
  186.                                     a standard format also used by
  187.                                     Amiga (and MS-DOS) computers.  This
  188.                                     format originated on the PC.
  189.  
  190.   .lnx          Lynx Archive        The above formats all compress files when
  191.                                     storing them; Lynx just stores them.
  192.                                     There are many different versions of
  193.                                     Lynx out there, so good luck dissolving
  194.                                     these.
  195.  
  196.   .lbr          Library Archive     A format similar to lynx.  Library
  197.                                     dissolving programs exist for both the
  198.                                     64 and 128 to dissolve these.
  199.  
  200.   .uue          UUEncoded file      UUencoding is a process whereby a binary
  201.                                     file can be converted to an all-text
  202.                                     file, transferable by E-mail.  This
  203.                                     encoded file can later be UUDecoded back
  204.                                     to the original binary file.  Unix
  205.                                     has uuencoding/decoding utilities.
  206.                                     A program "uuxfer" for the
  207.                                     C64 (by Fuzzy Fox) will both uuencode
  208.                                     and uudecode.  Note that the contents of
  209.                                     uue file could be another archived file.
  210.  
  211.   .uua          UU archive          An extension of uuencoding, a uuarchive
  212.                                     file is a concatenation of one or more
  213.                                     UUEncoded files.  So far as I know, this
  214.                                     was introduced by Craig Bruce in his ACE
  215.                                     shell for the C=128, and the utilities
  216.                                     included with that shell create and
  217.                                     dissolve uuarchives.
  218.  
  219.   .kar          Kevin's Archive     Another text archive format that seems
  220.                                     to have originated with Craig Bruce,
  221.                                     this is a proscription for concatenating
  222.                                     a series of text files (which can include
  223.                                     uuencoded files) into one file.  More
  224.                                     information can be found in C. Bruce's
  225.                                     documentation for his ace shell.
  226.  
  227.   x!<file>      ZIPCoded file       ZIPCode is a program that takes an entire
  228.                                     disk and "compacts" it into 4 files that
  229.                                     have a number followed by a '!' and then
  230.                                     a filename.  Also, ZipCode can compress
  231.                                     files, in which case the x is a letter
  232.                                     (a,b,c,d) and there need not be 4 files.
  233.                                     If ZipCode has compressed individual 
  234.                                     files, there will be an "i!" or 
  235.                                     "x!"-prefixed file on the disk that holds
  236.                                     the directory of the file compressed.  To
  237.                                     make things even more confusing, there
  238.                                     are two versions of ZipCode (v1 and v2).
  239.                                     The newer version will accept v1 archives,
  240.                                     but not vice-versa.  Use ZipCode v2 to
  241.                                     unpack such archives.
  242.  
  243. + <file>_x.z64  ZIPCoded file       This is just another way of naming the
  244. +                                   above x!<file> ZIPcode files so they can
  245. +                                   be placed on UNIX/DOS machines easier.
  246. +                                   The files mst be renamed to x!<file> 
  247. +                                   before decompression.
  248.  
  249.   x!!<file>     ZIPCode 6-pack      This is a ZIPCode archive that takes an
  250.                                     entire disk and puts it into 6 files,
  251.                                     each file containing GCS codes and header
  252.                                     info for the tracks.  This is basically
  253.                                     a nybble copier that stores the data it
  254.                                     receives from the disk into files.
  255.  
  256.   .bco          BCODEd file         BCODing is very similar to UUencoding in
  257.                                     that a binary file is converted into an
  258.                                     all-text format that is 33% larger than
  259.                                     the original.  The difference is that the
  260.                                     BCODE format provides additional
  261.                                     information for error detection and
  262.                                     automatic data segmentation and
  263.                                     reordering.  C-code versions of "bcode"
  264.                                     and "unbcode" are available via FTP and
  265.                                     Commodore versions are prov
  266.                                     ACE-128/64.
  267.  
  268.   .zip          ZIP archive         Zip is a file format used on IBM
  269.                                     platforms and is created by the PKZip
  270.                                     program that is available for some
  271.                                     platforms.  There are two forms of zip
  272.                                     files that have the same extension.
  273.                                     Both are created by different versions of
  274.                                     PKZip.  The first, version 1.01, can be
  275.                                     dissolved on a 64 by using the program
  276.                                     UNZIP64.  The second, newer format is
  277.                                     version 2.04, which cannot be dissolved by
  278.                                     UNZIP64.  Your best solution when in doubt
  279.                                     is to dissolve the files on another
  280.                                     platform.  For the 128, there is a version
  281.                                     of the UNZIP64 program, called UNZIP128
  282.                                     that has been modified to run in 128 mode.
  283.                                     It is in a file called NZP12817.SFX.  This
  284.                                     archive also has a 64 version.
  285.  
  286.   <file>]x      Compression Kit     x = 4,7,8, cmd, or c(xx) to denote type
  287.                 Archive             of media that was compressed.  The files
  288.                                     can be extracted only with The Compression
  289.                                     Kit, from Mad Man Software.
  290.  
  291.   .tar          TAR Archive         UNIX Tape ARchiver.  This program can be
  292.                                     used to archive files as well.  The file
  293.                                     must be decoded using tar.
  294.  
  295.   .Z            Compress archive    Compress is a program on UNIX that will
  296.                                     shrink a single file.  It is usually used
  297.                                     on .tar files in UNIX to reduce their
  298.                                     size.  The file must be decoded by the
  299.                                     uncompress program, available on UNIX, PC,
  300.                                     Mac and other platforms.
  301.                                     Also, a very old version of GNU Zip used
  302.                                     this extension, although the file is not
  303.                                     fully compatible with the compress format.
  304.  
  305.   .gz           GZIP Archive        GZIP is a free program developed by the
  306.                                     Free Software Foundation to freely shrink
  307.                                     their software.  the resulting file must be
  308.                                     decoded by GUNZIP, available on many
  309.                                     platforms, before using.
  310.  
  311.   .taz          Compressed TAR      This is a file that should have the
  312.                                     extension "tar.Z", but has been shortened
  313.                                     for MS-DOS.  Run uncompress, then tar on
  314.                                     this file.
  315.                                     
  316.   .tgz          Gzipped Tar File    This is a file that should have extension
  317.                                     tar.gz, but has been shortened for MS-DOS
  318.                                     Run gzip or similar on the file, then tar.
  319.  
  320.   .gif          Graphics            This is a compressed graphics format 
  321.                 Interchange         created by Compuserve.  To view this file,
  322. |               Format              one must find a GIF viewer program:
  323. +                                   GEOGif.SFX  - Converts GIF to GEOPaint.
  324. +                                   VGIF.SFX    - 64 mode viewer.
  325. +                                   GDS.SFX     - 128 mode viewer.
  326.  
  327.   .jpeg         Joint               This graphics format can use one of two
  328.                 Photographers       compression algorithms.  One, called DPCM
  329.                 Expert              (Differential Pulse COde Modulation) 
  330.                 Group               retains all of the information in the 
  331.                                     original file, which is usually a picture.
  332.                                     The more common algorithm, called DCT
  333.                                     (Discrete Cosine Transform), relies on the
  334.                                     inability of the human eye to distinguish
  335.                                     among some "throws away" some
  336.                                     information in the file (picture), while
  337.                                     still retaining the essence of the picture.
  338.                                     To view these pictures, one must either
  339.                                     obtain a JPEG veiwer or convert them to
  340.                                     GIF format.
  341.                                      
  342.   .jpg          JPEG                This is an MS-DOS named .jpeg file.
  343.   
  344.   .tiff         Tagged              This is a graphics format used on high
  345.                 Image               performance workstations.  To view this
  346.                 File                graphics format, you will need to convert
  347.                 Format              something else.
  348.  
  349.   .pcx          IBM Picture         This is graphics format used in DOS on 
  350.                                     IBM machines.  Convert this file to a
  351.                                     GIF file to view.
  352.   
  353.   .pict         Mac PICTure         This is a graphics format used on Apple
  354.                                     Macintosh machines.  Convert this file 
  355.                                     to a GIF file to view.
  356.   
  357.   .d64          1541 Disk Image     This file stores an image of one entire
  358.   .x64                              disk, for use with Commodore emulator
  359.                                     programs.  Several programs exist to 
  360.                                     extract the image onto a disk or place a
  361.                                     disk onto an image.  The only difference
  362.                                     between the .x64 and .d64 file types is an
  363.                                     added 64 byte header on a .x64 file.
  364.  
  365.   .t64         DataSette Image      This file is analogous to the .d64 file
  366.                                     type, but for tapes.
  367.   
  368.   .p00          PC64 (Emulator)     This file encapsulates a Commodore program
  369.                 Program File Image  or data file.  To extract the original 
  370.                                     file, remove the first 26 characters.  In 
  371.                                     addition to .p00, there is .s00 (SEQ), and
  372.                                     .u00 (USR) files, but are very rare.
  373.   
  374.   .bmp          Windows Bitmap      This is a format used for graphics in
  375.                                     Microsoft Windows and OS/2.  Convert this
  376.                                     file to a GIF to view.
  377.   
  378.   .pbm          Portable Bitmap     
  379.   
  380.   .xbm          X bitmap            This is a format used for graphics on the
  381.                                     X windowsing system.  Convert this file
  382.                                     to a GIF to view.
  383.   
  384.   .html         HyperText           This is a WWW hypertext document.  To
  385.                 Markup              view this file, you will need a WWW
  386.                 Language            browser of some kind.  See Section 6.8 
  387.                                     for more information on WWW.
  388.   
  389.   .doc          Document            This file could be a word processing file
  390.                                     from a program like Word for Windows, 
  391.                                     Wordperfect, or any other word processor.
  392.                                     Also, some text files that contain 
  393.                                     documentation use this extension.
  394.  
  395.   .cvt          GEOS file           GEOS files use a special file format. The
  396.                                     files are called USR files, but they have
  397.                                     special information in the file that
  398.                                     normal files don't, so you cannot just
  399.                                     upload a GEOS file like any SEQ or PRG
  400.                                     file. You can pack all the extra
  401.                                     information and the data into a regular
  402.                                     Commodore SEQ or PRG file with a program
  403.                                     Called Convert.  It has a version 2.5 and
  404.                                     a 3.0.  The files that result from this
  405.                                     conversion have the extension.  The file
  406.                                     must be processed again by Convert before
  407.                                     it can be used with GEOS.
  408.  
  409.   .N64           64NET file         Since the 64NET system works by allowing
  410.                                     an MS-DOS machine to be used as a large
  411.                                     disk drive, a way was developed to map
  412.                                     CBM filenames into the MS-DOS limitations.
  413.                                     The .N64 filenames indicates such a file.
  414.  
  415. + .D71           64NET GEOS File    These are 64NET extensions used to
  416. + .D81                              emulate a 1571 and 1581 disk drive,
  417. +                                   respectively, under GEOS.
  418.  
  419.   If the file type indicates an archive, there are many programs available
  420.   that will handle most archival methods. One of these is called Omega-Q II,
  421.   which includes one-stop compression and decompression of many of the above
  422.   archival types.
  423.   
  424.   If you use a host system to download the files from, you may want to
  425.   decompress the files before downloading.  Even though the files will be
  426.   larger to download, the time to decompress them offline will not be a
  427.   factor.  However, those who pay by-the-minute for download time would
  428.   probably want the smallest possible file, which implies decompressing on
  429.   the local machine, except in the case of a UU encoded file.  These files
  430.   are actually bigger in the 'UU' format.
  431.  
  432.   
  433.  
  434. -- 
  435. Jim Brain, Embedded System Designer, Brain Innovations, Inc)
  436. j.brain@ieee.org   "Above views DO reflect my employer, since I'm my employer"
  437. Dabbling in WWW, Embedded Systems, VR, Old CBM computers, and Good Times!  -Me-
  438. <a href=http://www.msen.com/~brain/>Jim Brain: BII, VR, and CBM info</a>
  439.